#include <vector>
#include <string>
#include <iostream>
using std::string;
using std::vector;
vector<string> split(const string& line, char x)
{
	vector <string> strs;
	int t = 0;
	string s;
	for (int i = 0; i < line.size() ; i++)
	{
		if(line[i] == x )
		{
			
			s = line.substr(t,i-t);
			strs.push_back(s);
			t=i+1;
			s.clear();
			
		}
		 if(i==(line.size()-1))
		 {
		 	s = line.substr(t,i-t+1);
			strs.push_back(s);
		 }
		
	}
	return strs;

}

